import Request from '../util/request.js'
import Config from '../util/config.js'
let HomeRequest = {
    baseUrl : Config.baseUrl + "/sys",
    async getHomeData()
    {
        let data = await Request.getSync(this.baseUrl + "/menu/list",{});
        //let data = await Request.getSync("http://localhost:8089/menu/list",{});
        data = data.data;
        return data;
    },
}
export default HomeRequest;
